#ifndef UTIL_H
#define UTIL_H
#include <memory>
#include <string>
#define SHADER(...) #__VA_ARGS__

namespace renderengine {

    class Util {
    public:
        static unsigned long getAddress(void* p);

        static std::string toLower(const std::string& str);
        static std::string toUpper(const std::string& str);
        static std::string createUUID(long long defaultId);

#ifdef _WINDOWS
        static std::string toUtf8(const std::wstring& utf16);
        static std::wstring toUtf16(const std::string& utf8);
#endif
    };

}
#endif // !UTIL_H
